package com.study.spring.proxy.client;


import com.study.spring.proxy.core.SaosHeaders;
import com.study.spring.proxy.bo.*;
import com.study.spring.proxy.core.SaosHttpClient;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

@SaosHttpClient
public interface RemoteClient {

    @RequestMapping(value = "http://www.baidu.com",method = RequestMethod.GET)
    String getBaidu();

    @RequestMapping(value = "https://saos-rb-plus-api.test.k8s.chehejia.com/saos-rb-plus-api/api/pc/opportunity/get-intention-list",method = RequestMethod.GET)
    Response<Intention> getIntentionLevelList();

    @RequestMapping(value = "https://saos-rb-plus-api.dev.k8s.chehejia.com/saos-rb-plus-api/api/pc/opportunity/get-customer-open-oppty",method = RequestMethod.GET)
    Response<OpportunityBo> getCustomerOpportunity(@RequestParam("customerAccountId") String customerAccountId, @RequestParam("system") String system);





    @RequestMapping(value = "https://chj-service-rb-api.test.k8s.chehejia.com/chj-service-rb/api/dcc-follow-up/page-by-account-id",method = RequestMethod.POST)
    Response<Page<DccFollowUpBo>> getCustomerFollowUp(@RequestBody PageRequestBo<DccFollowUpRequestBo> requestBoPageRequestBo, @SaosHeaders Map<String,Object> headers);





}
